package com.ddd.mill.domain.aggregate.product.repository;

import com.ddd.mill.domain.aggregate.product.entity.ProductImg;
import com.ddd.mill.infrastructure.persistent.repository.Repository;

import java.util.List;

/**
 * @author liu
 * @title: ProductImgRepository
 * @projectName trading-center
 * @date 2020/11/3010:19
 */
public interface ProductImgRepository extends Repository<ProductImg,Long> {
    public void saveBatch(List<ProductImg> productImgList);

    public List<ProductImg> getListByProductId(Long id);
}
